package fr.castorhoz.isi_connectivity_widget.roaming_widget;

import android.content.Context;
import fr.castorhoz.isi_connectivity_widget.ConnButton;
import fr.castorhoz.isi_connectivity_widget.R;

public class RoamingButton extends ConnButton{
	

	public RoamingButton(Context context) {
		// //RECEIVERS//////////////////////////////////////////////
		/*if (receiver == null)
			receiver = new RoamingBroadcastReceiver(this);
		IntentFilter filter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
		context.getApplicationContext().registerReceiver(receiver, filter);*/
		////////////////////////////////////////////////////////////
	}
	
	/**
	 * Generic button. Do not use this to add a button to into a widget
	 */
	public RoamingButton() {}
	
	/////////////////TODO
	@Override
	public void enableNetwork(Context context) {
		//TODO enable roaming
	}

	@Override
	public void disableNetwork(Context context) {
		//TODO disable roaming
	}
	
	public String getAction(){
		return "fr_imberle_connectivityWidget_CLICK_ROAMING";
	}
	
	@Override
	public int getSelectorOff() {
		return R.drawable.roaming_selector_off;
	}
	
	@Override
	public int getSelectorOn() {
		return R.drawable.roaming_selector_on;
	}
	
	@Override
	public int getSelectorUnknown() {
		return R.drawable.roaming_selector_unknown;
	}

	@Override
	public int getCurrentSelector() {
		// TODO Auto-generated method stub
		return getSelectorOn();
	}

	@Override
	public boolean getState(Context context) {
		// TODO Auto-generated method stub
		return false;
	}



}
